#ifndef TRACKBASE_H
#define TRACKBASE_H

#include <vector>
#include <set>
#include <string>
#include "model/Track.h"

#define BASE_SUFFIX ".lrn"

class TrackBase {
	char dir[256];
	std::set<std::string> keys;
public:
	TrackBase(const char* directory);
	bool load(std::string key, std::vector<Track>& tracks);
	bool add(std::string key, const Track& track);
	const std::set<std::string>& keySet();
};

#endif
